package com.zt.student.dao;

import com.zt.common.pojo.ClassSelection;
import com.zt.common.pojo.Teachers;
import com.zt.common.pojo.netty.Sender;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * description:
 * author:zt
 * date:2022-01-02
 */
@Mapper
public interface ClassSelectionDao {

    void insert(ClassSelection classSelection);

    void delete(ClassSelection classSelection);

    List<Teachers> getSelectedTeacherInfo(@Param("studentId") String studentId,@Param("semester") String semester);

    ClassSelection getByStuIdAndClassId(@Param("classId") int classId, @Param("studentId") String studentId);
}
